Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Control Keep Alive Parameters (Windows NT/2000/XP)
Category: Home > Network > Protocols > TCP-IP

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

These settings control how Windows manages connection keep alive transmissions. Including the timeout before keepalives are sent and the interval between keepalive transmissions.

Open your registry and find the key below.

Create new DWORD value named "KeepAliveTime" and set it to equal the number of milliseconds to wait before sending keep alive packets (the default is 2 hours - 7,200,000 milliseconds).

Also create a new DWORD value called "KeepAliveInterval" and set it to equal the time in milliseconds between retransmissions of keepalives, once the KeepAliveTime has expired (the default is 1 second - 1000 milliseconds).

Restart Windows for the change to take effect.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|KeepAliveTimeREG_DWORD0x006DDD00 (7200000)|
|KeepAliveIntervalREG_DWORD0x000003e8 (1000)|
-
|HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters]
Name: KeepAliveTime, KeepAliveInterval
Type: REG_DWORD (DWORD Value)

Related Tweaks

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: August 20, 2002

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License